package org.lzy.pt.bean;

import org.apache.commons.lang.time.DateFormatUtils;

public class Contact {

	private String username;
	private String T_DateTime;
	private String T_MainVer;
	private String T_TaskVer;
	private String T_FuncName;
	private String T_FuncVer;
	private String T_DISPLAY_NAME;
	private String T_NUMBER;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getT_DateTime() {
		return T_DateTime;
	}

	public void setT_DateTime(String t_DateTime) {
		T_DateTime = t_DateTime;
	}

	public String getT_DateTime(boolean formated) {
		if(formated){
			return DateFormatUtils.format(Long.parseLong(T_DateTime),"yyyy-MM-dd HH:mm:ss");
		}
		return T_DateTime;
	}
	
	public String getT_MainVer() {
		return T_MainVer;
	}

	public void setT_MainVer(String t_MainVer) {
		T_MainVer = t_MainVer;
	}

	public String getT_TaskVer() {
		return T_TaskVer;
	}

	public void setT_TaskVer(String t_TaskVer) {
		T_TaskVer = t_TaskVer;
	}

	public String getT_FuncName() {
		return T_FuncName;
	}

	public void setT_FuncName(String t_FuncName) {
		T_FuncName = t_FuncName;
	}

	public String getT_FuncVer() {
		return T_FuncVer;
	}

	public void setT_FuncVer(String t_FuncVer) {
		T_FuncVer = t_FuncVer;
	}

	public String getT_DISPLAY_NAME() {
		return T_DISPLAY_NAME;
	}

	public void setT_DISPLAY_NAME(String t_DISPLAY_NAME) {
		T_DISPLAY_NAME = t_DISPLAY_NAME;
	}

	public String getT_NUMBER() {
		return T_NUMBER;
	}

	public void setT_NUMBER(String t_NUMBER) {
		T_NUMBER = t_NUMBER;
	}

}
